package kr.co.mustgo.controller.reservation;

import kr.co.mustgo.model.service.reservation.ReservationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/reserve/")
public class ReservationController {
	
	@Autowired
	private ReservationService reservationService;
	
	//예약등록 폼 컨트롤러
	@RequestMapping("reservation.do")
	public String reservationTemp(){
		return "tiles/reservation/reserve_form.jsp";
	}
	
	//예약날짜 달력 컨트롤러
	@RequestMapping("reserve_date.do")
	public String reserveDate(){
		return "tiles/reservation/reserve_date.jsp";
	}
	//예약자정보 수정 컨트롤러
	@RequestMapping("modify_reserve.do")
	public String modifyReserve(){
		return "/WEB-INF/view/reservation/modify_reserve.jsp";
	}
	
}
